package org.wmine.core;

import javax.swing.Icon;
import javax.swing.JPanel;


/**
 * The base class for all tab panels
 * @author Prafulla
 * 
 */
public abstract class BasicTabPanel {
	
	/**
	 * @return The Title for the particular tab
	 */
	public abstract String getTitle();

	/**
	 * @return The tooltip for the particular tab
	 */
	public abstract String getTooltip();
	
	/**
	 * @return This method should return the JPanel which is parent of all
	 *         other components within that particular tab
	 */
	public abstract JPanel buildWindow();
	
	/**
	 * @return Returns the icon for the tab
	 *
	 */
	public Icon getIcon() {
		return null;
	}

}
